package com.pinecone.service;

import com.pinecone.entity.SysUserRoleEntity;

import java.util.List;
import java.util.Map;

/**
 * 用户角色对应表
 * 
 * @author hushangjie
 * @email 979783618@qq.com
 * @date 2017-09-27 21:18:15
 */
public interface SysUserRoleService {
	
	SysUserRoleEntity queryObject(Integer userRoleId);
	
	List<SysUserRoleEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SysUserRoleEntity sysUserRole);
	
	void update(SysUserRoleEntity sysUserRole);
	
	void delete(Integer userRoleId);
	
	void deleteBatch(Integer[] userRoleIds);
}
